package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 交班付款明细对象 tb_hand_advice
 *
 * @author yajun_ren
 * @date 2022-03-31
 */
@Data
public class HandAdvice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 交班id */
    @Excel(name = "交班id")
    private String handRecordId;

    /** 付款单号 */
    @Excel(name = "付款单号")
    private String no;

    /** 付款人id */
    @Excel(name = "付款人id")
    private String paymentUserId;

    /** 付款人 */
    @Excel(name = "付款人")
    private String paymentUserName;

    /** 付款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentTime;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal paymentMoney;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;

    /** 房间id */
    @Excel(name = "房间id")
    private String roomId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String communityName;

    /** 客户id */
    @Excel(name = "客户id")
    private String customIds;

    /** 状态 */
    @Excel(name = "状态")
    private String status;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("handRecordId", getHandRecordId())
            .append("no", getNo())
            .append("paymentUserId", getPaymentUserId())
            .append("paymentUserName", getPaymentUserName())
            .append("paymentTime", getPaymentTime())
            .append("paymentMoney", getPaymentMoney())
            .append("roomName", getRoomName())
            .append("roomId", getRoomId())
            .append("communityName", getCommunityName())
            .append("customIds", getCustomIds())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
